const router = require ("koa-router")();
router.get("/login",async ctx=>{
    var login = ctx.cookies.get("login");
    if(login){
        await ctx.redirect("/")
    }
    await ctx.render("login")
})

module.exports = router;